﻿
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[sproc_BBS_GetAllBoardMaster]') AND type in (N'P', N'PC'))
    DROP PROCEDURE [dbo].[sproc_BBS_GetAllBoardMaster];
GO
CREATE PROCEDURE [dbo].[sproc_BBS_GetAllBoardMaster]

AS

SELECT board_id,a.staff_id,staff_name,realname FROM uds_bbs_boardmaster a,uds_staff b where  a.staff_id=b.staff_id